<template>
    <view>
    <view class="backC" >返回</view>
    	<image @click="goBackM"  class="backC"   src="../../../style/image/myPos/backMap.png" alt="">
        <web-view :webview-styles="webviewStyles" :src="src"></web-view>
    </view>
</template>
<script>
import { AppModule } from "../../../store/modules/app";
export default {
  data() {
    return {
      webviewStyles: {
        progress: {
          color: "#FF3333",
        },
      },
      src: "",
    };
  },
  onLoad(options) {
    // alert(111)
    //         console.log(options.data,'66666666')
  },
  mounted() {
    console.log(AppModule.orderLink, "iwww");
    this.src = AppModule.orderLink;
  },
  methods: {
    goBackM() {
      uni.redirectTo({
        url: `../myOrder/order`,
      });
    },
   
	 back() {
		 
		 uni.showToast({
		 	title: '123',
		 	icon:'none',
		 	duration: 2000
		 });
		 
	    uni.redirectTo({
	        url: "../myOrder/order"
	    })
		
	   }
  },
  onBackPress(options) {
	  
	  console.log(options)
  	
  	// uni.showToast({
  	// 	title: '请填写员工工号',
  	// 	icon:'none',
  	// 	duration: 2000
  	// });
	
	this.back()
	
  	return true;
    // uni.redirectTo({
    //   url: `../myOrder/order`,
    // });
    
  },
};
</script>
<style scped >
.backC {
  width: 2rem;
  height: 2rem;
  position: absolute;
  top: 0.5rem;
  z-index: 99;
  left: 0.5rem;
}
</style>